package io.openkunlun.javadsl.springboot3.client;

import io.openkunlun.javadsl.client.DaprClient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "dapr.client")
public class DaprClientProperties {

    private String host = DaprClient.DEFAULT_HOST;
    private int port = DaprClient.DEFAULT_PORT;
    private int timeout = DaprClient.DEFAULT_TIMEOUT;

    private int maxMessageBytes = DaprClient.DEFAULT_MAX_MESSAGE_BYTES;
    private int maxMetadataBytes = DaprClient.DEFAULT_MAX_METADATA_BYTES;

}
